package safety;

import agricultural.AgriculturalMachine;

public abstract class SafetyHandler {
    protected SafetyHandler nextHandler;

    public void setNextHandler(SafetyHandler nextHandler) {
        this.nextHandler = nextHandler;
    }

    public abstract void handleSafetyEvent(SafetyEventType eventType, AgriculturalMachine machine);
}    